﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Web;
using AutoMapper;


namespace SIG.WebMVC.Mappings
{
    public class ViewModelToDomainMappingProfile : Profile
    {
        public override string ProfileName
        {
            get { return "ViewModelToDomainMappings"; }
        }

        protected override void Configure()
        {
            //Mapper.CreateMap<ProductPageMetaDTO, Product>();
            //Mapper.CreateMap<ArticlePageMetaDTO, Article>();
            //Mapper.CreateMap<PagePageMetaDTO, Page>();

            //   Mapper.CreateMap<ArticlePageMetaDTO, PageMeta>().ForMember(x => x.ObjectId, opt => opt.MapFrom(source => source.Id));

        }
    }
}